#ifndef EXTENSIONS_H
#define EXTENSIONS_H

#if defined(__APPLE__)
#	include <stdlib.h>
#	include <stdio.h>
#	include <string.h>
#	include <OpenGL/gl.h>
#	include <OpenGL/glext.h>
#	include <OpenGL/glx.h>
#else
#	if defined(_MSC_VER)||defined(__WIN32__)
#		include <windows.h>
#		include <stdlib.h>
#		include <stdio.h>
#		include <string.h>
#	else
#		include <stdlib.h>
#		include <stdio.h>
#		include <string.h>
#		include <GL/glx.h>
#	endif
#	include <GL/gl.h>
#	include <GL/glext.h>
#endif

#ifdef __cplusplus
extern "C" {
#endif

int check_for_extension(char *extstr);
void *load_extension(char *name);

#ifdef __cplusplus
}
#endif

#endif

